package com.easy.project.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 基础配置类
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "base")
public class BaseConfig {

    /**
     * 基础包路径
     */
    @Value("${base.package}")
    private String basePackage;

    /**
     * 基础的controller包路径
     */
    @Value("${base.controller}")
    private String baseController;
}
